home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 4
/
Gold Medal Software - Volume 4 (Gold Medal) (1994).iso
/
os2
/
pstry104.arj
/
PASTRY.DOC
< prev
next >
Wrap
Text File
|
1994-08-24
|
3KB
|
61 lines
The Pastry Box - version 1.04
This utility allows the user to load a file or the contents of the
clipboard into a listbox and then select multiple noncontiguous lines
to be pasted to the clipboard in one operation. I use it with an
offline mail reader to select lines from other sources to paste into
replies. It could also be used to select multiple names from an
organization list to form a distribution list. It could also be used
to make a subset of a list of items and copy the subset to the clipboard.
The source file is loaded via a thread, and if you attempt to select
a new file before the current file is completely loaded the utility
will beep and not allow the file dialog box to be opened. It uses a
listbox to contain the text, so the text is limited to about 40K.
The utility will load as much of the text as possible and will display
an error message if the text is to big to fit in the listbox. The
utility opens the source as read only so it will not modify the source
file. The utility will read up to 2048 character lines, lines longer
will be wrapped to the next line. The search function will move the
line that contains the matched text to the top of the listbox, unless
the last line of the file is already on screen. There is no online
help, but the utility is simple to use and the menu selections are
similar to other OS/2 PM applications.
The font, text color, background color used in the listbox may be
configured via the drag & drop method. Configuration changes may be
saved by using the save settings option which is under Exit. Included
in the configuration information is the size and position of the
application's window on the desktop, the file selected, and the
search string.
The configuration is saved in the file PASTRY.INI. The .INI
file is read from the working directory, so you can have multiple
.INI files by changing the working directory entry in the settings
notebook for the program object.
The utility is WPS aware, so you may also select a file by dragging a
copy of it onto the icon object.
The file INSTALL.CMD will install the utility on the desktop if you
have installed REXX. The files will be installed on the boot drive
under \OS2\APPS.
The unmodified distribution ZIP file may be uploaded to other
bulletin board systems and on-line services.
This utility is not public domain, the author retains the copyright
but it is free for personal use. It may not be distributed with any
commercial product without permission from the author. A commercial
site license for the program is available for $50, contact the author
for further information.
The author may be contacted on the IBM PCC BBS under the assigned ID of
PR G67278, on the ILink OS/2 conference as Don Hawkinson, and via
internet email as don.hawkinson@twsubbs.twsu.edu
Don Hawkinson
Wichita, Ks